package com.banciyuan.bcywebview.base.helper.push.Item;

import android.content.Context;
import android.content.Intent;

import com.banciyuan.bcywebview.biz.pc.zone.smooth.SmoothPersonActivity;
import com.banciyuan.bcywebview.utils.intent.gotoUtil;

/**
 * Created by hy on 2016/5/23.
 */
public class PushItemEight extends BasePush {
    @Override
    public void goPushActivity(Context mContext) {
        super.goPushActivity(mContext);
        if (msgs.length == 3) {
            goPersonActivity();
        } else {
            goMain();
        }
    }

    private void goPersonActivity() {
        Intent intent = new Intent(mContext, SmoothPersonActivity.class);
        intent.putExtra(gotoUtil.INTENT_VALUE_ONE, msgs[2]);
        goActivities(intent);
    }
}
